/*
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author         Notes
 * 2025-01-04     Tian Yiqing    the first version
 */

#ifndef __DRV_MIC_H_
#define __DRV_MIC_H_

#include <rtthread.h>
#include <rtdevice.h>

struct gd32_mic
{
    struct rt_i2c_bus_device *i2c_bus;
    struct rt_audio_device audio;
    struct rt_audio_configure config;
    rt_uint8_t *rx_fifo;
    rt_bool_t startup;
};

#endif
